{
  "_format": "hh-sol-artifact-1",
  "contractName": "Pool",
  "sourceName": "contracts/Pool.sol",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "newAclManager",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "newBaseToken",
          "type": "address"
        },
        {
          "internalType": "address",
          "name": "newInvestmentManager",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "address",
          "name": "user",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "Deposit",
      "type": "event"
    },
    {
      "inputs": [],
      "name": "ACLManager",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "baseToken",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "currentStatus",
      "outputs": [
        {
          "internalType": "enum IPool.Status",
          "name": "",
          "type": "uint8"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        }
      ],
      "name": "deposit",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "name": "deposits",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "depositsAmount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "finishPool",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "investmentManager",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "launchPool",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "returnedAmount",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function"
    },
    {
      "inputs": [],
      "name": "withdraw",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "bytecode": "0x608060405234801561001057600080fd5b5060405161129438038061129483398101604081905261002f9161009a565b6001600081905580546001600160a01b03948516610100026001600160a81b0319909116179055600280549284166001600160a01b0319938416179055600380549190931691161790556100dd565b80516001600160a01b038116811461009557600080fd5b919050565b6000806000606084860312156100af57600080fd5b6100b88461007e565b92506100c66020850161007e565b91506100d46040850161007e565b90509250925092565b6111a8806100ec6000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063b6b55f2511610081578063ef8a92351161005b578063ef8a92351461016d578063fc7e286d14610187578063fe4ab90a146101a757600080fd5b8063b6b55f2514610130578063c55dae6314610143578063ebdd3c9c1461015657600080fd5b8063821e0418116100b2578063821e041814610108578063a1d4958c14610110578063b0a9d7fd1461011857600080fd5b80633ccfd60b146100ce5780634b31bb10146100d8575b600080fd5b6100d66101b0565b005b6003546100eb906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100d6610376565b6100d66105be565b6001546100eb9061010090046001600160a01b031681565b6100d661013e366004610fc2565b6107a9565b6002546100eb906001600160a01b031681565b61015f60065481565b6040519081526020016100ff565b60015461017a9060ff1681565b6040516100ff9190610ff1565b61015f610195366004611019565b60046020526000908152604090205481565b61015f60055481565b600260015460ff1660028111156101c9576101c9610fdb565b146102415760405162461bcd60e51b815260206004820152602e60248201527f506f6f6c3a2077697468647261773a2063757272656e7420737461747573206960448201527f73206e6f742046494e495348454400000000000000000000000000000000000060648201526084015b60405180910390fd5b33600090815260046020526040812054908190036102c65760405162461bcd60e51b8152602060048201526024808201527f506f6f6c3a2077697468647261773a2075736572206465706f7369742069732060448201527f7a65726f000000000000000000000000000000000000000000000000000000006064820152608401610238565b6000600554826006546102d9919061105f565b6102e3919061107c565b90508060000361035b5760405162461bcd60e51b815260206004820152602b60248201527f506f6f6c3a2077697468647261773a2075736572207769746864726177416d6f60448201527f756e74206973207a65726f0000000000000000000000000000000000000000006064820152608401610238565b600254610372906001600160a01b03163383610a8d565b5050565b6001546040516376aecb8f60e11b81523360048201526101009091046001600160a01b03169063ed5d971e90602401602060405180830381865afa1580156103c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e6919061109e565b61043e5760405162461bcd60e51b815260206004820152602360248201527f506f6f6c3a2063616c6c6572206973206e6f742070726f746f636f6c207472616044820152623232b960e91b6064820152608401610238565b6001805460ff16600281111561045657610456610fdb565b146104c95760405162461bcd60e51b815260206004820152603060248201527f506f6f6c3a2066696e697368506f6f6c3a2063757272656e742073746174757360448201527f206973206e6f74204c41554e43484544000000000000000000000000000000006064820152608401610238565b6001805460ff19166002179055600354604080517fe9fad8ee00000000000000000000000000000000000000000000000000000000815290516001600160a01b039092169163e9fad8ee9160048082019260009290919082900301818387803b15801561053557600080fd5b505af1158015610549573d6000803e3d6000fd5b50506002546040516370a0823160e01b81523060048201526001600160a01b0390911692506370a082319150602401602060405180830381865afa158015610595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b991906110c0565b600655565b6001546040516376aecb8f60e11b81523360048201526101009091046001600160a01b03169063ed5d971e90602401602060405180830381865afa15801561060a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062e919061109e565b6106865760405162461bcd60e51b815260206004820152602360248201527f506f6f6c3a2063616c6c6572206973206e6f742070726f746f636f6c207472616044820152623232b960e91b6064820152608401610238565b600060015460ff16600281111561069f5761069f610fdb565b146107125760405162461bcd60e51b815260206004820152603360248201527f506f6f6c3a206c61756e6368506f6f6c3a2063757272656e742073746174757360448201527f206973206e6f742046554e4452414953494e47000000000000000000000000006064820152608401610238565b6001805460ff19168117905560035460055460025461073f926001600160a01b0391821692911690610b3b565b600360009054906101000a90046001600160a01b03166001600160a01b03166367f239dd6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561078f57600080fd5b505af11580156107a3573d6000803e3d6000fd5b50505050565b6107b1610c89565b600060015460ff1660028111156107ca576107ca610fdb565b1461083d5760405162461bcd60e51b815260206004820152603060248201527f506f6f6c3a206465706f7369743a2063757272656e742073746174757320697360448201527f206e6f742046554e4452414953494e47000000000000000000000000000000006064820152608401610238565b8060000361088d5760405162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a206465706f7369743a20616d6f756e74206973207a65726f0000006044820152606401610238565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156108d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fa91906110c0565b600254909150610915906001600160a01b0316333085610ce2565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561095e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098291906110c0565b9050600061099083836110d9565b9050838114610a075760405162461bcd60e51b815260206004820152602b60248201527f506f6f6c3a206465706f7369743a2066656520746f6b656e7320617265206e6f60448201527f7420737570706f727465640000000000000000000000000000000000000000006064820152608401610238565b3360009081526004602052604081208054869290610a269084906110ec565b925050819055508360056000828254610a3f91906110ec565b909155505060408051338152602081018690527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c910160405180910390a1505050610a8a6001600055565b50565b6040516001600160a01b038316602482015260448101829052610b369084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610d33565b505050565b801580610bce57506040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610ba8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcc91906110c0565b155b610c405760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000006064820152608401610238565b6040516001600160a01b038316602482015260448101829052610b369084907f095ea7b30000000000000000000000000000000000000000000000000000000090606401610ad2565b600260005403610cdb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610238565b6002600055565b6040516001600160a01b03808516602483015283166044820152606481018290526107a39085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610ad2565b6000610d88826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e1b9092919063ffffffff16565b9050805160001480610da9575080806020019051810190610da9919061109e565b610b365760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610238565b6060610e2a8484600085610e32565b949350505050565b606082471015610eaa5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610238565b600080866001600160a01b03168587604051610ec69190611123565b60006040518083038185875af1925050503d8060008114610f03576040519150601f19603f3d011682016040523d82523d6000602084013e610f08565b606091505b5091509150610f1987838387610f24565b979650505050505050565b60608315610f93578251600003610f8c576001600160a01b0385163b610f8c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610238565b5081610e2a565b610e2a8383815115610fa85781518083602001fd5b8060405162461bcd60e51b8152600401610238919061113f565b600060208284031215610fd457600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061101357634e487b7160e01b600052602160045260246000fd5b91905290565b60006020828403121561102b57600080fd5b81356001600160a01b038116811461104257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761107657611076611049565b92915050565b60008261109957634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156110b057600080fd5b8151801515811461104257600080fd5b6000602082840312156110d257600080fd5b5051919050565b8181038181111561107657611076611049565b8082018082111561107657611076611049565b60005b8381101561111a578181015183820152602001611102565b50506000910152565b600082516111358184602087016110ff565b9190910192915050565b602081526000825180602084015261115e8160408501602087016110ff565b601f01601f1916919091016040019291505056fea2646970667358221220cd5f05a62a88e1059746361711c8d17f7a12091c4b8945a40e5fc44d8c1a3bbf64736f6c63430008130033",
  "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100c95760003560e01c8063b6b55f2511610081578063ef8a92351161005b578063ef8a92351461016d578063fc7e286d14610187578063fe4ab90a146101a757600080fd5b8063b6b55f2514610130578063c55dae6314610143578063ebdd3c9c1461015657600080fd5b8063821e0418116100b2578063821e041814610108578063a1d4958c14610110578063b0a9d7fd1461011857600080fd5b80633ccfd60b146100ce5780634b31bb10146100d8575b600080fd5b6100d66101b0565b005b6003546100eb906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100d6610376565b6100d66105be565b6001546100eb9061010090046001600160a01b031681565b6100d661013e366004610fc2565b6107a9565b6002546100eb906001600160a01b031681565b61015f60065481565b6040519081526020016100ff565b60015461017a9060ff1681565b6040516100ff9190610ff1565b61015f610195366004611019565b60046020526000908152604090205481565b61015f60055481565b600260015460ff1660028111156101c9576101c9610fdb565b146102415760405162461bcd60e51b815260206004820152602e60248201527f506f6f6c3a2077697468647261773a2063757272656e7420737461747573206960448201527f73206e6f742046494e495348454400000000000000000000000000000000000060648201526084015b60405180910390fd5b33600090815260046020526040812054908190036102c65760405162461bcd60e51b8152602060048201526024808201527f506f6f6c3a2077697468647261773a2075736572206465706f7369742069732060448201527f7a65726f000000000000000000000000000000000000000000000000000000006064820152608401610238565b6000600554826006546102d9919061105f565b6102e3919061107c565b90508060000361035b5760405162461bcd60e51b815260206004820152602b60248201527f506f6f6c3a2077697468647261773a2075736572207769746864726177416d6f60448201527f756e74206973207a65726f0000000000000000000000000000000000000000006064820152608401610238565b600254610372906001600160a01b03163383610a8d565b5050565b6001546040516376aecb8f60e11b81523360048201526101009091046001600160a01b03169063ed5d971e90602401602060405180830381865afa1580156103c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e6919061109e565b61043e5760405162461bcd60e51b815260206004820152602360248201527f506f6f6c3a2063616c6c6572206973206e6f742070726f746f636f6c207472616044820152623232b960e91b6064820152608401610238565b6001805460ff16600281111561045657610456610fdb565b146104c95760405162461bcd60e51b815260206004820152603060248201527f506f6f6c3a2066696e697368506f6f6c3a2063757272656e742073746174757360448201527f206973206e6f74204c41554e43484544000000000000000000000000000000006064820152608401610238565b6001805460ff19166002179055600354604080517fe9fad8ee00000000000000000000000000000000000000000000000000000000815290516001600160a01b039092169163e9fad8ee9160048082019260009290919082900301818387803b15801561053557600080fd5b505af1158015610549573d6000803e3d6000fd5b50506002546040516370a0823160e01b81523060048201526001600160a01b0390911692506370a082319150602401602060405180830381865afa158015610595573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b991906110c0565b600655565b6001546040516376aecb8f60e11b81523360048201526101009091046001600160a01b03169063ed5d971e90602401602060405180830381865afa15801561060a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062e919061109e565b6106865760405162461bcd60e51b815260206004820152602360248201527f506f6f6c3a2063616c6c6572206973206e6f742070726f746f636f6c207472616044820152623232b960e91b6064820152608401610238565b600060015460ff16600281111561069f5761069f610fdb565b146107125760405162461bcd60e51b815260206004820152603360248201527f506f6f6c3a206c61756e6368506f6f6c3a2063757272656e742073746174757360448201527f206973206e6f742046554e4452414953494e47000000000000000000000000006064820152608401610238565b6001805460ff19168117905560035460055460025461073f926001600160a01b0391821692911690610b3b565b600360009054906101000a90046001600160a01b03166001600160a01b03166367f239dd6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561078f57600080fd5b505af11580156107a3573d6000803e3d6000fd5b50505050565b6107b1610c89565b600060015460ff1660028111156107ca576107ca610fdb565b1461083d5760405162461bcd60e51b815260206004820152603060248201527f506f6f6c3a206465706f7369743a2063757272656e742073746174757320697360448201527f206e6f742046554e4452414953494e47000000000000000000000000000000006064820152608401610238565b8060000361088d5760405162461bcd60e51b815260206004820152601d60248201527f506f6f6c3a206465706f7369743a20616d6f756e74206973207a65726f0000006044820152606401610238565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156108d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fa91906110c0565b600254909150610915906001600160a01b0316333085610ce2565b6002546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa15801561095e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098291906110c0565b9050600061099083836110d9565b9050838114610a075760405162461bcd60e51b815260206004820152602b60248201527f506f6f6c3a206465706f7369743a2066656520746f6b656e7320617265206e6f60448201527f7420737570706f727465640000000000000000000000000000000000000000006064820152608401610238565b3360009081526004602052604081208054869290610a269084906110ec565b925050819055508360056000828254610a3f91906110ec565b909155505060408051338152602081018690527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c910160405180910390a1505050610a8a6001600055565b50565b6040516001600160a01b038316602482015260448101829052610b369084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610d33565b505050565b801580610bce57506040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610ba8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcc91906110c0565b155b610c405760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000006064820152608401610238565b6040516001600160a01b038316602482015260448101829052610b369084907f095ea7b30000000000000000000000000000000000000000000000000000000090606401610ad2565b600260005403610cdb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610238565b6002600055565b6040516001600160a01b03808516602483015283166044820152606481018290526107a39085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401610ad2565b6000610d88826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e1b9092919063ffffffff16565b9050805160001480610da9575080806020019051810190610da9919061109e565b610b365760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610238565b6060610e2a8484600085610e32565b949350505050565b606082471015610eaa5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610238565b600080866001600160a01b03168587604051610ec69190611123565b60006040518083038185875af1925050503d8060008114610f03576040519150601f19603f3d011682016040523d82523d6000602084013e610f08565b606091505b5091509150610f1987838387610f24565b979650505050505050565b60608315610f93578251600003610f8c576001600160a01b0385163b610f8c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610238565b5081610e2a565b610e2a8383815115610fa85781518083602001fd5b8060405162461bcd60e51b8152600401610238919061113f565b600060208284031215610fd457600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b602081016003831061101357634e487b7160e01b600052602160045260246000fd5b91905290565b60006020828403121561102b57600080fd5b81356001600160a01b038116811461104257600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761107657611076611049565b92915050565b60008261109957634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156110b057600080fd5b8151801515811461104257600080fd5b6000602082840312156110d257600080fd5b5051919050565b8181038181111561107657611076611049565b8082018082111561107657611076611049565b60005b8381101561111a578181015183820152602001611102565b50506000910152565b600082516111358184602087016110ff565b9190910192915050565b602081526000825180602084015261115e8160408501602087016110ff565b601f01601f1916919091016040019291505056fea2646970667358221220cd5f05a62a88e1059746361711c8d17f7a12091c4b8945a40e5fc44d8c1a3bbf64736f6c63430008130033",
  "linkReferences": {},
  "deployedLinkReferences": {}
}